.class public final Lcom/apprupt/android/cvclient/c;
.super Landroid/webkit/WebView;


# instance fields
.field private a:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 3

    const/4 v2, 0x0

    invoke-direct {p0, p1}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V

    iput-object p1, p0, Lcom/apprupt/android/cvclient/c;->a:Landroid/content/Context;

    invoke-virtual {p0, v2}, Lcom/apprupt/android/cvclient/c;->setFocusable(Z)V

    invoke-virtual {p0}, Lcom/apprupt/android/cvclient/c;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    const/high16 v0, 0x200

    invoke-virtual {p0, v0}, Lcom/apprupt/android/cvclient/c;->setScrollBarStyle(I)V

    invoke-virtual {p0}, Lcom/apprupt/android/cvclient/c;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/webkit/WebSettings;->setNeedInitialFocus(Z)V

    new-instance v0, Lcom/apprupt/android/cvclient/a;

    invoke-direct {v0, p0, p1}, Lcom/apprupt/android/cvclient/a;-><init>(Lcom/apprupt/android/cvclient/c;Landroid/content/Context;)V

    invoke-virtual {p0, v0}, Lcom/apprupt/android/cvclient/c;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/apprupt/android/cvclient/c;->a:Landroid/content/Context;

    new-instance v1, Lcom/apprupt/android/cvclient/d;

    invoke-direct {v1, v0}, Lcom/apprupt/android/cvclient/d;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1, p1, p2, p3}, Lcom/apprupt/android/cvclient/d;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/apprupt/android/cvclient/c;->loadUrl(Ljava/lang/String;)V

    return-void
.end method
